using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Scorm_Content_Editor
{
    public partial class Publish : Form
    {
        public Publish()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            FolderBrowserDialog browseFolder = new FolderBrowserDialog();

            if (browseFolder.ShowDialog() == DialogResult.OK)
            {
                txtLocation.Text = browseFolder.SelectedPath.ToString();
            }
            else
            {
                txtLocation.Text = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);
            }
        }
    }
}